detach
( class in module jsPlumb
)
Detaches a Connection.
connection – {object} –
The
params – {object} –
Optional parameters to the detach call. valid values here are fireEvent : defaults to false; indicates you want jsPlumb to fire a connection detached event. The thinking behind this is that if you made a programmatic call to detach an event, you probably don't need the callback. forceDetach : defaults to false. allows you to override any beforeDetach listeners that may be registered.
{boolean}
– True if successful, false if not.